home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 Spring / macformat-077.iso / Shareware Plus / Development / SpriteWorld 2.2 Extra Demos / Wrapping Illustration / Illustration.h < prev    next >
Encoding:
Text File  |  1997-09-11  |  933 b   |  49 lines  |  [TEXT/CWIE]

  1. ///--------------------------------------------------------------------------------------
  2. // Scroll Demo.h
  3. //
  4. // By: Vern Jensen
  5. ///--------------------------------------------------------------------------------------
  6.  
  7.  
  8. #ifndef __WINDOWS__
  9. #include <Windows.h>
  10. #endif
  11.  
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.  
  17.  
  18. #if NEW_HEADERS_AVAILABLE
  19. #else
  20. #define LMGetSysEvtMask() SysEvtMask
  21. #endif
  22.  
  23.  
  24. void    main( void );
  25. void    CreateSpriteWorld( void );
  26. void    CreateSprites( void );
  27. void    SetUpAnimation( void );
  28.  
  29. void    RunAnimation( void );
  30. void    ShutDown( void );
  31.  
  32. SW_FUNC void    TileChangeProc(
  33.     SpriteWorldPtr spriteWorldP);
  34.  
  35. SW_FUNC void KeySpriteMoveProc(SpritePtr srcSpriteP);
  36. SW_FUNC void BallSpriteMoveProc(SpritePtr ballSpriteP);
  37.  
  38. SW_FUNC void    FollowSpriteMoveProc(
  39.     SpriteWorldPtr spriteWorldP,
  40.     SpritePtr followSpriteP);
  41.  
  42. void    UpdateKeys( void );
  43. SW_FUNC void MyPostDrawCallBack(SpriteWorldPtr spriteWorldP);
  44.  
  45.  
  46. #ifdef __cplusplus
  47. };
  48. #endif
  49.